import request from "@/utils/request";

export function stockLog_index(params) {
  return request({
    url: "stockLog/index",
    method: "get",
    params
  });
}

export function stockLog_list(params) {
  return request({
    url: "stockLog/stockLogsList",
    method: "get",
    params
  });
}

// 导出库存记录
export function export_stocklog_list(data) {
  return request({
    url: "/export/stockLog",
    method: "post",
    responseType: "blob",
    data: data
  });
}

// 导出库存记录明细
export function export_stocklog_detail(data) {
  return request({
    url: "/export/stockLogsList",
    method: "post",
    responseType: "blob",
    data: data
  });
}
